﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement.Handlers;
using Orchard.Mvc.Filters;
using Redirect404.Models;
using Orchard.Data;

namespace Redirect404.Handlers
{
    public class RedirectHandler : ContentHandler
    {
        public RedirectHandler(IRepository<RedirectPartRecord> repository)
        {
            Filters.Add(StorageFilter.For(repository));
        }
    }
}